home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / newsgroups / misc.19981211-19990422 / 000199_news@watsun.cc.columbia.edu _Tue Feb 9 15:23:39 1999.msg < prev    next >
Internet Message Format  |  2020-01-01  |  2KB

  1. Return-Path: <news@watsun.cc.columbia.edu>
  2. Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30])
  3.     by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id PAA23604
  4.     for <kermit.misc@watsun.cc.columbia.edu>; Tue, 9 Feb 1999 15:23:38 -0500 (EST)
  5. Received: (from news@localhost)
  6.     by newsmaster.cc.columbia.edu (8.8.5/8.8.5) id PAA24002
  7.     for kermit.misc@watsun.cc.columbia.edu; Tue, 9 Feb 1999 15:23:09 -0500 (EST)
  8. X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to <news> using -f
  9. From: fdc@watsun.cc.columbia.edu (Frank da Cruz)
  10. Subject: Re: Need Help Using Kermit as a non-root user
  11. Date: 9 Feb 1999 20:23:07 GMT
  12. Organization: Columbia University
  13. Message-ID: <79q5fb$ndt$1@newsmaster.cc.columbia.edu>
  14. To: kermit.misc@mailrelay2.cc.columbia.edu
  15.  
  16. In article <79q2oq$1m0$1@ux2.accesscom.net>,
  17. Gregory I. Hayes <gihayes@bellsouth.net> wrote:
  18. : I am using aix 4.1.5.0. and C-Kermit  6.0.192. I have a C-Kermit script
  19. : called /usr/local/call-medb that dials out and transfers data to a remote
  20. : location and then recieves a response file. When it is run by root, it works
  21. : fine. The device that is being used for dial out is /dev/tty2. The problem I
  22. : am having is that tty2 is owned and in the group uucp. Whenever I try to run
  23. : the script with this setting not as root, I get the following error:
  24. : Command file: /usr/local/call-medb, line 7
  25. : /dev/tty2: Permission denied
  26. : Sorry, access to device denied: /dev/tty2
  27. :
  28. Please read the C-Kermit installation instructions.  You can find them in
  29. the UNIX appendix of "Using C-Kermit":
  30.  
  31.   http://www.columbia.edu/kermit/ck60manual.html
  32.  
  33. or in the ckuins.doc file.  Briefly, most UNIX installations protect the
  34. dialout devices from users, so any program that access them needs to have
  35. the appropriate owner and/or group IDs (and suid and/or sgid bits) to grant
  36. read/write access to the device, and write access to the lockfile directory.
  37. This is true not just of Kermit, but also uucp, tip, cu, minicom, or any other
  38. program that needs to use a serial device.  Do:
  39.  
  40.   ls -l /usr/bin/cu
  41.  
  42. and then give the Kermit program (not the script) the same group and owner
  43. and permissions as cu.
  44.  
  45. - Frank